﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Timeline
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //Init timeline3 by code
            timeline3.FromYear = 1984;
            timeline3.ToYear = 2016;
            timeline3.CssClass = "Timeline";
            timeline3.IndicatorCssClass = "TimelineIndicator";
            timeline3.BigYearIndicator = 5;
            timeline3.SmallYearIndicator = 1;

            timeline3.Values.Add(new TimelineValue(1985, 2000, "TimelineValue1", null, null));
            timeline3.Values.Add(new TimelineValue(2010, 2010, "TimelineValue2", null, null));
            timeline3.Values.Add(new TimelineValue(2012, 2012, "TimelineValue3", null, null));
        }
    }
}